package com.hankol.community.bean

import com.chad.library.adapter.base.entity.MultiItemEntity

/**
 * @description
 * @author yuyang
 * @time 2022/11/4 1:47 下午
 */
class DiscoverMultiBean(type: Int,  var bean: Any) : MultiItemEntity {

    private var itemType: Int = type

    companion object {
        const val TYPE_BANNER = 0//发现页banner
        const val TYPE_IMPORTANT = 1//重要业务
        const val TYPE_LOCK = 2//金刚区
        const val TYPE_EXERCISE = 3//长期活动板块
        const val TYPE_DYNAMIC = 4//动态列表
    }

    fun getSpecialBean(): Any {
        return bean
    }

    override fun getItemType(): Int {
        return itemType
    }

}